package com.ecnu.system.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ProjectQADTO {

    @ApiModelProperty(value = "id")
    private int id;

    @NotBlank(message = "活动id不能为空")
    @ApiModelProperty(value = "活动id")
    private String proId;

//    @NotBlank(message = "问题不能为空")
//    @ApiModelProperty(value = "问题")
//    private String question;
//
//    @NotBlank(message = "回答不能为空")
//    @ApiModelProperty(value = "回答")
//    private String answer;

//    @NotNull(message = "排序不能为空")
//    @ApiModelProperty(value = "排序")
//    private int sort;

    private String richText;

}
